#!/usr/bin/env python
#coding=utf-8
'''
Created on Aug 15, 2010
@author: lxd
'''
import sys
sys.path.append('..')
from common.tools import Tools

import os
country_file = os.path.join(Tools.getFatherDir(), 'db', 'country')
countries = Tools.loadData(country_file)
for country in countries:
    print country['name'], country['id']

